//
//  TGAuthoritiesModel.h
//  TongGuanLease
//
//  Created by 森鑫 on 2022/6/22.
//

#import "TGBaseModel.h"


@interface Custom :TGBaseModel
@property (nonatomic , assign) BOOL              app_add_customer;
@property (nonatomic , assign) BOOL              app_business_change_audit;
@property (nonatomic , assign) BOOL              app_update_customer;

@end

@interface DistributionEarnings :TGBaseModel

@end

@interface Order :TGBaseModel
@property (nonatomic , assign) BOOL              app_order_details;

@end

@interface Contract :TGBaseModel
@property (nonatomic , assign) BOOL              app_contract_details;
@property (nonatomic , assign) BOOL              app_contract_subject_change_audit;
@property (nonatomic , assign) BOOL              app_contract_add_equipment_change_audit;
@property (nonatomic , assign) BOOL              app_contract_code_change_audit;
@property (nonatomic , assign) BOOL              app_create_contract;
@property (nonatomic , assign) BOOL              app_contract_rent_change_audit;
@property (nonatomic , assign) BOOL              app_contract_authorized_change_audit;
@property (nonatomic , assign) BOOL              app_contract_settlement_change_audit;

@end

@interface Project :TGBaseModel
@property (nonatomic , assign) BOOL              app_add_project;
@property (nonatomic , assign) BOOL              app_project_details;

@end

@interface Visit :TGBaseModel
@property (nonatomic , assign) BOOL              app_create_visit;
@property (nonatomic , assign) BOOL              app_record_visit_result;
@property (nonatomic , assign) BOOL              app_visit_details;

@end

@interface Business :TGBaseModel
@property (nonatomic , assign) BOOL              app_create_business_opportunity;
@property (nonatomic , assign) BOOL              app_business_opportunity_details;

@end

@interface CustomManager :TGBaseModel
/**客户*/
@property (nonatomic , strong) Custom              * custom;
/**业绩分配*/
@property (nonatomic , strong) DistributionEarnings              * distributionEarnings;
/**订单*/
@property (nonatomic , strong) Order              * order;
/**合同*/
@property (nonatomic , strong) Contract              * contract;
/**项目*/
@property (nonatomic , strong) Project              * project;
/**拜访*/
@property (nonatomic , strong) Visit              * visit;
/**商机*/
@property (nonatomic , strong) Business              * business;

@end

@interface PartsList :TGBaseModel

@end

@interface EquipmentInspection :TGBaseModel

@end

@interface EquipmentClaims :TGBaseModel
@property (nonatomic , assign) BOOL              app_claim_audit;
@property (nonatomic , assign) BOOL              app_claim_add;
@property (nonatomic , assign) BOOL              app_claim_resubmit;

@end

@interface EquipmentInventory :TGBaseModel

@end

@interface EquipmentProcurement :TGBaseModel

@end

@interface OutPutAndInPut :TGBaseModel
@property (nonatomic , assign) BOOL              app_do_outbound;
@property (nonatomic , assign) BOOL              app_outbound_details;
@property (nonatomic , assign) BOOL              app_inbound_details;
@property (nonatomic , assign) BOOL              app_do_inbound;
@property (nonatomic , assign) BOOL              app_inbound_list;
@property (nonatomic , assign) BOOL              app_outbound_list;

@end

@interface EquipmentToSublet :TGBaseModel

@end

@interface PersonalRequisition :TGBaseModel
@property (nonatomic , assign) BOOL              app_personal_requisition_details;
@property (nonatomic , assign) BOOL              app_personal_requisition_return_apply;

@end

@interface ReportRepair :TGBaseModel
@property (nonatomic , assign) BOOL              app_report_repair_bill_equipment;
@property (nonatomic , assign) BOOL              app_report_repair_bill_remote;
@property (nonatomic , assign) BOOL              app_report_repair_bill_assigned;
@property (nonatomic , assign) BOOL              app_report_repair_bill_cancel2;
@property (nonatomic , assign) BOOL              app_report_repair_bill_transform;
@property (nonatomic , assign) BOOL              app_report_repair_bill_cancel;
@property (nonatomic , assign) BOOL              app_report_repair_bill_add;

@end

@interface InventoryList :TGBaseModel
@property (nonatomic , assign) BOOL              app_equipment_inventory_list;

@end

@interface SparePartsInventory :TGBaseModel

@end

@interface EquipmentTransfers :TGBaseModel

@end

@interface EquipmentHandover :TGBaseModel

@end

@interface EquipmentList :TGBaseModel
@property (nonatomic , assign) BOOL              app_equipment_details;
@property (nonatomic , assign) BOOL              app_equipment_list;

@end

@interface EquipmentOverhaul :TGBaseModel
@property (nonatomic , assign) BOOL              app_check_start;
@property (nonatomic , assign) BOOL              app_check_audit;
@property (nonatomic , assign) BOOL              app_check_report;

@end

@interface EquipmentUnkeep :TGBaseModel
@property (nonatomic , assign) BOOL              app_add_mainteance_report;
@property (nonatomic , assign) BOOL              app_deferred_maintenance;
@end

@interface PartsReceive :TGBaseModel
@property (nonatomic , assign) BOOL              app_personal_requisition_add;
@property (nonatomic , assign) BOOL              app_personal_requisition_edit;
@property (nonatomic , assign) BOOL              app_personal_requisition_out_audit;
@property (nonatomic , assign) BOOL              app_personal_requisition_resubmit;

@end

@interface PartsReturn :TGBaseModel
@property (nonatomic , assign) BOOL              app_personal_requisition_return_add;
@property (nonatomic , assign) BOOL              app_personal_requisition_return_cancel;
@property (nonatomic , assign) BOOL              app_personal_requisition_return_resubmit;
@property (nonatomic , assign) BOOL              app_personal_requisition_return_in_audit;

@end

@interface EquipmentMaintenance :TGBaseModel
@property (nonatomic , assign) BOOL              app_repair_audit;
@property (nonatomic , assign) BOOL              app_repair_resubmit;

@end

@interface AssetManager :TGBaseModel
/**配件清单*/
@property (nonatomic , strong) PartsList              * partsList;
/**设备巡检*/
@property (nonatomic , strong) EquipmentInspection              * equipmentInspection;
/**设备索赔*/
@property (nonatomic , strong) EquipmentClaims              * equipmentClaims;
/**设备盘点*/
@property (nonatomic , strong) EquipmentInventory              * equipmentInventory;
/**设备采购*/
@property (nonatomic , strong) EquipmentProcurement              * equipmentProcurement;
/**出入库*/
@property (nonatomic , strong) OutPutAndInPut              * outPutAndInPut;
/**设备转租*/
@property (nonatomic , strong) EquipmentToSublet              * equipmentToSublet;
/**个人库存*/
@property (nonatomic , strong) PersonalRequisition              * personalRequisition;
/**设备报修*/
@property (nonatomic , strong) ReportRepair              * reportRepair;
/**库存统计*/
@property (nonatomic , strong) InventoryList              * inventoryList;
/**设备盘点*/
@property (nonatomic , strong) SparePartsInventory              * sparePartsInventory;
/**设备调拨*/
@property (nonatomic , strong) EquipmentTransfers              * equipmentTransfers;
/**设备交接*/
@property (nonatomic , strong) EquipmentHandover              * equipmentHandover;
/**设备清单*/
@property (nonatomic , strong) EquipmentList              * equipmentList;
/**设备检修*/
@property (nonatomic , strong) EquipmentOverhaul              * equipmentOverhaul;
/**设备保养*/
@property (nonatomic , strong) EquipmentUnkeep              * equipmentUnkeep;
/**配件领用*/
@property (nonatomic , strong) PartsReceive              * partsReceive;
/**配件归还*/
@property (nonatomic , strong) PartsReturn              * partsReturn;
/**设备维修*/
@property (nonatomic , strong) EquipmentMaintenance              * equipmentMaintenance;

@end

@interface Exit :TGBaseModel
@property (nonatomic , assign) BOOL              app_exit_apply_details;
@property (nonatomic , assign) BOOL              app_exit_apply_assigned;
@property (nonatomic , assign) BOOL              app_exit_associate;
@property (nonatomic , assign) BOOL              app_exit_apply_list;
@property (nonatomic , assign) BOOL              app_exit_apply_create;

@end

@interface Approach :TGBaseModel
@property (nonatomic , assign) BOOL              app_approach_associate;
@property (nonatomic , assign) BOOL              app_approach_create;
@property (nonatomic , assign) BOOL              app_approach_assigned;
@property (nonatomic , assign) BOOL              app_approach_details;
@property (nonatomic , assign) BOOL              app_approach_list;
@property (nonatomic , assign) BOOL              app_approach_cancel; /**作废进场申请*/
@end

@interface QuittingNotice :TGBaseModel

@end

@interface RentalService :TGBaseModel
/**退场*/
@property (nonatomic , strong) Exit              * exit;
/**进退*/
@property (nonatomic , strong) Approach              * approach;
/**报亭*/
@property (nonatomic , strong) QuittingNotice              * quittingNotice;

@end

@interface Statement :TGBaseModel
@property (nonatomic , assign) BOOL              app_statement_launch;

@end

@interface CollectionOrder :TGBaseModel
@property (nonatomic , assign) BOOL              app_collection_bill_del;
@property (nonatomic , assign) BOOL              app_collection_bill_add;
@property (nonatomic , assign) BOOL              app_collection_bill_confirm;
@property (nonatomic , assign) BOOL              app_collection_bill_edit;

@end

@interface ReceivableAdjustment :TGBaseModel
@property (nonatomic , assign) BOOL              app_receivable_adjustment_edit;
@property (nonatomic , assign) BOOL              app_receivable_adjustment_del;
@property (nonatomic , assign) BOOL              app_receivable_adjustment_add;

@end

@interface DelayedPay :TGBaseModel

@end

@interface RefundOrder :TGBaseModel
@property (nonatomic , assign) BOOL              app_refund_del;
@property (nonatomic , assign) BOOL              app_refund_add;
@property (nonatomic , assign) BOOL              app_refund_edit;

@end

@interface RepairRelief :TGBaseModel
@property (nonatomic , assign) BOOL              app_repair_relief_add;
@property (nonatomic , assign) BOOL              app_repair_relief_edit;
@property (nonatomic , assign) BOOL              app_repair_relief_del;

@end

@interface InvoiceManager :TGBaseModel

@end

@interface ReceiptQRCode :TGBaseModel

@end

@interface FinalStatement :TGBaseModel
@property (nonatomic , assign) BOOL              app_statement_generate;

@end

@interface FinanceManager :TGBaseModel
/**对账单*/
@property (nonatomic , strong) Statement              * statement;
/**收款单*/
@property (nonatomic , strong) CollectionOrder              * collectionOrder;
/**应收调整*/
@property (nonatomic , strong) ReceivableAdjustment              * receivableAdjustment;
/**延时付款*/
@property (nonatomic , strong) DelayedPay              * delayedPay;
/**退款单*/
@property (nonatomic , strong) RefundOrder              * refundOrder;
/**维修减免*/
@property (nonatomic , strong) RepairRelief              * repairRelief;
/**开票管*/
@property (nonatomic , strong) InvoiceManager              * invoiceManager;
/**收款二维码*/
@property (nonatomic , strong) ReceiptQRCode              * receiptQRCode;
/**结算单*/
@property (nonatomic , strong) FinalStatement              * finalStatement;

@end


@interface TGAuthoritiesModel : TGBaseModel
/**客户管理*/
@property (nonatomic , strong) CustomManager              * customManager;
/**资产管理*/
@property (nonatomic , strong) AssetManager              * assetManager;
/**租赁服务*/
@property (nonatomic , strong) RentalService              * rentalService;
/**财务管理*/
@property (nonatomic , strong) FinanceManager              * financeManager;

@end
